import check from './check'

const install = function(Vue) {
    Vue.directive('purview-check', check)
}

if (window.Vue) {
    window['purview-check'] = install
    Vue.use(install); // eslint-disable-line
}

check.install = install
export default check